package com.jprocms.module.cms.controller.admin.investigateitemoption.vo;

import com.jpro.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.jpro.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 问卷调查条目选项分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InvestigateItemOptionPageReqVO extends PageParam {

    @Schema(description = "站点ID", example = "11256")
    private Long siteId;

    @Schema(description = "问卷ID", example = "32724")
    private Long investigateId;

    @Schema(description = "选项ID", example = "16418")
    private Long investigateItemId;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
